<?php
require_once 'mediator/MediatorInterface.php';
require_once 'mediator/Mediator.php';
require_once 'abstractMedia.php';
require_once 'db.php';
require_once 'server.php';
require_once 'client.php';

$mediator = new Mediator();
$client = new Client($mediator);
$mediator->setMedia($client, new Db($mediator), new Server($mediator));
$client->makeRequest();